#include <modules\graphics\vertex.h>

namespace DelGE
{
	namespace Modules
	{
		namespace Graphics
		{
			Vertex::Vertex()
			{
				this->position[0] = 0;	this->position[1] = 0; this->position[2] = 0;
				this->normal[0] = 0;	this->normal[1] = 0; this->normal[2] = 0;
				this->textureUV[0] = 0;	this->textureUV[1] = 0;
				this->color = DELGE_GRAPHICSCOLOR_WHITE;
			}

			Vertex::Vertex(float fX, float fY, float fU, float fV)
			{
				this->position[0] = fX;		this->position[1] = fY;
				this->textureUV[0] = fU;	this->textureUV[1] = fV;
				this->color = DELGE_GRAPHICSCOLOR_WHITE;
			}

			Vertex::Vertex(float fX, float fY, float fZ, float fU, float fV)
			{
				this->position[0] = fX;		this->position[1] = fY;		this->position[2] = fZ;
				this->textureUV[0] = fU;	this->textureUV[1] = fV;
				this->color = DELGE_GRAPHICSCOLOR_WHITE;
			}
			
			Vertex::~Vertex()
			{
				this->position[0] = 0;	this->position[1] = 0;
				this->textureUV[0] = 0;	this->textureUV[1] = 0;
				this->color = DELGE_GRAPHICSCOLOR_WHITE;
			}
		}
	}
}